package com.example.demo.entity;

public final class SmartCardId {

    private final String name;

    private final Integer year;

    private final Integer seq;

    public SmartCardId(String name, Integer year, Integer seq) {
        this.name = name;
        this.year = year;
        this.seq = seq;
    }

    public String getName() {
        return name;
    }

    public Integer getYear() {
        return year;
    }

    public Integer getSeq() {
        return seq;
    }

    @Override
    public String toString() {
        return name + "-" + year + "-" + seq;
    }
}
